﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace Pdm.Commons
{
    public class DmuList : List<Dmu>
    {
        public List<Specification> coefficients { get; set; }

        public DmuList()
        {
            coefficients = new List<Specification>();
        }
        public int getIDofFirstOutputCoeffiecient()
        {
            for (int i = 0; i < coefficients.Count; i++)
            {
                if (coefficients[i].type == Type.Output)
                {
                    return coefficients[i].id;
                }
            }
            return -1;
        }
    }
}
